import request from '../utils/request';

export function checkAuth({mac}) {
  console.log("mac", mac);
  return request({url: `/login/check-authorize.json?mac=${mac}`});
}


export function login({tel, password}) {
  console.log("tel", tel);
  console.log("password", password);
  return request({url: `/login/login-by-account-PC.json?tel=${tel}&password=${password}`});
}

